// RegDlg.cpp : implementation file
//

#include "stdafx.h"
#include "RegDlg.h"
#include "afxdialogex.h"
#include "ChatMessage.h"

// RegDlg dialog

IMPLEMENT_DYNAMIC(RegDlg, CDialogEx)

RegDlg::RegDlg(CWnd* pParent /*=NULL*/)
	: CDialogEx(RegDlg::IDD, pParent)
	, m_name(_T(""))
	, m_pass1(_T(""))
	, m_pass2(_T(""))
{

}

RegDlg::~RegDlg()
{
}

void RegDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT_USERNAME, m_name);
	DDV_MaxChars(pDX, m_name, USERNAME_LEN);
	DDX_Text(pDX, IDC_EDIT_PASS, m_pass1);
	DDV_MaxChars(pDX, m_pass1, PASSWORD_LEN);
	DDX_Text(pDX, IDC_EDIT_PASS2, m_pass2);
	DDV_MaxChars(pDX, m_pass2, PASSWORD_LEN);
}


BEGIN_MESSAGE_MAP(RegDlg, CDialogEx)
END_MESSAGE_MAP()


// RegDlg message handlers
